package cn.bdqn.model.pojo;

import java.util.ArrayList;
import java.util.List;

public class SettlementinfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SettlementinfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSettlementNumberIsNull() {
            addCriterion("settlement_number is null");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberIsNotNull() {
            addCriterion("settlement_number is not null");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberEqualTo(Integer value) {
            addCriterion("settlement_number =", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberNotEqualTo(Integer value) {
            addCriterion("settlement_number <>", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberGreaterThan(Integer value) {
            addCriterion("settlement_number >", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("settlement_number >=", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberLessThan(Integer value) {
            addCriterion("settlement_number <", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberLessThanOrEqualTo(Integer value) {
            addCriterion("settlement_number <=", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberIn(List<Integer> values) {
            addCriterion("settlement_number in", values, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberNotIn(List<Integer> values) {
            addCriterion("settlement_number not in", values, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberBetween(Integer value1, Integer value2) {
            addCriterion("settlement_number between", value1, value2, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("settlement_number not between", value1, value2, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossIsNull() {
            addCriterion("amount_of_loss is null");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossIsNotNull() {
            addCriterion("amount_of_loss is not null");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossEqualTo(Integer value) {
            addCriterion("amount_of_loss =", value, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossNotEqualTo(Integer value) {
            addCriterion("amount_of_loss <>", value, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossGreaterThan(Integer value) {
            addCriterion("amount_of_loss >", value, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossGreaterThanOrEqualTo(Integer value) {
            addCriterion("amount_of_loss >=", value, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossLessThan(Integer value) {
            addCriterion("amount_of_loss <", value, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossLessThanOrEqualTo(Integer value) {
            addCriterion("amount_of_loss <=", value, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossIn(List<Integer> values) {
            addCriterion("amount_of_loss in", values, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossNotIn(List<Integer> values) {
            addCriterion("amount_of_loss not in", values, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossBetween(Integer value1, Integer value2) {
            addCriterion("amount_of_loss between", value1, value2, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andAmountOfLossNotBetween(Integer value1, Integer value2) {
            addCriterion("amount_of_loss not between", value1, value2, "amountOfLoss");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyIsNull() {
            addCriterion("compendate_money is null");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyIsNotNull() {
            addCriterion("compendate_money is not null");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyEqualTo(Integer value) {
            addCriterion("compendate_money =", value, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyNotEqualTo(Integer value) {
            addCriterion("compendate_money <>", value, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyGreaterThan(Integer value) {
            addCriterion("compendate_money >", value, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("compendate_money >=", value, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyLessThan(Integer value) {
            addCriterion("compendate_money <", value, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("compendate_money <=", value, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyIn(List<Integer> values) {
            addCriterion("compendate_money in", values, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyNotIn(List<Integer> values) {
            addCriterion("compendate_money not in", values, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyBetween(Integer value1, Integer value2) {
            addCriterion("compendate_money between", value1, value2, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andCompendateMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("compendate_money not between", value1, value2, "compendateMoney");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateIsNull() {
            addCriterion("practical_compensate is null");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateIsNotNull() {
            addCriterion("practical_compensate is not null");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateEqualTo(Integer value) {
            addCriterion("practical_compensate =", value, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateNotEqualTo(Integer value) {
            addCriterion("practical_compensate <>", value, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateGreaterThan(Integer value) {
            addCriterion("practical_compensate >", value, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateGreaterThanOrEqualTo(Integer value) {
            addCriterion("practical_compensate >=", value, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateLessThan(Integer value) {
            addCriterion("practical_compensate <", value, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateLessThanOrEqualTo(Integer value) {
            addCriterion("practical_compensate <=", value, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateIn(List<Integer> values) {
            addCriterion("practical_compensate in", values, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateNotIn(List<Integer> values) {
            addCriterion("practical_compensate not in", values, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateBetween(Integer value1, Integer value2) {
            addCriterion("practical_compensate between", value1, value2, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andPracticalCompensateNotBetween(Integer value1, Integer value2) {
            addCriterion("practical_compensate not between", value1, value2, "practicalCompensate");
            return (Criteria) this;
        }

        public Criteria andJobNumberIsNull() {
            addCriterion("job_number is null");
            return (Criteria) this;
        }

        public Criteria andJobNumberIsNotNull() {
            addCriterion("job_number is not null");
            return (Criteria) this;
        }

        public Criteria andJobNumberEqualTo(String value) {
            addCriterion("job_number =", value, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberNotEqualTo(String value) {
            addCriterion("job_number <>", value, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberGreaterThan(String value) {
            addCriterion("job_number >", value, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberGreaterThanOrEqualTo(String value) {
            addCriterion("job_number >=", value, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberLessThan(String value) {
            addCriterion("job_number <", value, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberLessThanOrEqualTo(String value) {
            addCriterion("job_number <=", value, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberLike(String value) {
            addCriterion("job_number like", value, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberNotLike(String value) {
            addCriterion("job_number not like", value, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberIn(List<String> values) {
            addCriterion("job_number in", values, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberNotIn(List<String> values) {
            addCriterion("job_number not in", values, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberBetween(String value1, String value2) {
            addCriterion("job_number between", value1, value2, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andJobNumberNotBetween(String value1, String value2) {
            addCriterion("job_number not between", value1, value2, "jobNumber");
            return (Criteria) this;
        }

        public Criteria andGetPeopleIsNull() {
            addCriterion("get_people is null");
            return (Criteria) this;
        }

        public Criteria andGetPeopleIsNotNull() {
            addCriterion("get_people is not null");
            return (Criteria) this;
        }

        public Criteria andGetPeopleEqualTo(String value) {
            addCriterion("get_people =", value, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleNotEqualTo(String value) {
            addCriterion("get_people <>", value, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleGreaterThan(String value) {
            addCriterion("get_people >", value, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleGreaterThanOrEqualTo(String value) {
            addCriterion("get_people >=", value, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleLessThan(String value) {
            addCriterion("get_people <", value, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleLessThanOrEqualTo(String value) {
            addCriterion("get_people <=", value, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleLike(String value) {
            addCriterion("get_people like", value, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleNotLike(String value) {
            addCriterion("get_people not like", value, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleIn(List<String> values) {
            addCriterion("get_people in", values, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleNotIn(List<String> values) {
            addCriterion("get_people not in", values, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleBetween(String value1, String value2) {
            addCriterion("get_people between", value1, value2, "getPeople");
            return (Criteria) this;
        }

        public Criteria andGetPeopleNotBetween(String value1, String value2) {
            addCriterion("get_people not between", value1, value2, "getPeople");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyIsNull() {
            addCriterion("settlement_money is null");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyIsNotNull() {
            addCriterion("settlement_money is not null");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyEqualTo(Integer value) {
            addCriterion("settlement_money =", value, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyNotEqualTo(Integer value) {
            addCriterion("settlement_money <>", value, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyGreaterThan(Integer value) {
            addCriterion("settlement_money >", value, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("settlement_money >=", value, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyLessThan(Integer value) {
            addCriterion("settlement_money <", value, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("settlement_money <=", value, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyIn(List<Integer> values) {
            addCriterion("settlement_money in", values, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyNotIn(List<Integer> values) {
            addCriterion("settlement_money not in", values, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyBetween(Integer value1, Integer value2) {
            addCriterion("settlement_money between", value1, value2, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("settlement_money not between", value1, value2, "settlementMoney");
            return (Criteria) this;
        }

        public Criteria andSettlementWayIsNull() {
            addCriterion("settlement_way is null");
            return (Criteria) this;
        }

        public Criteria andSettlementWayIsNotNull() {
            addCriterion("settlement_way is not null");
            return (Criteria) this;
        }

        public Criteria andSettlementWayEqualTo(String value) {
            addCriterion("settlement_way =", value, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayNotEqualTo(String value) {
            addCriterion("settlement_way <>", value, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayGreaterThan(String value) {
            addCriterion("settlement_way >", value, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayGreaterThanOrEqualTo(String value) {
            addCriterion("settlement_way >=", value, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayLessThan(String value) {
            addCriterion("settlement_way <", value, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayLessThanOrEqualTo(String value) {
            addCriterion("settlement_way <=", value, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayLike(String value) {
            addCriterion("settlement_way like", value, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayNotLike(String value) {
            addCriterion("settlement_way not like", value, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayIn(List<String> values) {
            addCriterion("settlement_way in", values, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayNotIn(List<String> values) {
            addCriterion("settlement_way not in", values, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayBetween(String value1, String value2) {
            addCriterion("settlement_way between", value1, value2, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andSettlementWayNotBetween(String value1, String value2) {
            addCriterion("settlement_way not between", value1, value2, "settlementWay");
            return (Criteria) this;
        }

        public Criteria andReportedNumberIsNull() {
            addCriterion("reported_number is null");
            return (Criteria) this;
        }

        public Criteria andReportedNumberIsNotNull() {
            addCriterion("reported_number is not null");
            return (Criteria) this;
        }

        public Criteria andReportedNumberEqualTo(String value) {
            addCriterion("reported_number =", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberNotEqualTo(String value) {
            addCriterion("reported_number <>", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberGreaterThan(String value) {
            addCriterion("reported_number >", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberGreaterThanOrEqualTo(String value) {
            addCriterion("reported_number >=", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberLessThan(String value) {
            addCriterion("reported_number <", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberLessThanOrEqualTo(String value) {
            addCriterion("reported_number <=", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberLike(String value) {
            addCriterion("reported_number like", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberNotLike(String value) {
            addCriterion("reported_number not like", value, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberIn(List<String> values) {
            addCriterion("reported_number in", values, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberNotIn(List<String> values) {
            addCriterion("reported_number not in", values, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberBetween(String value1, String value2) {
            addCriterion("reported_number between", value1, value2, "reportedNumber");
            return (Criteria) this;
        }

        public Criteria andReportedNumberNotBetween(String value1, String value2) {
            addCriterion("reported_number not between", value1, value2, "reportedNumber");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}